// src/components/EuropeStreetBeatCard.jsx
import React from 'react';
import { Card } from 'antd';
const { Meta } = Card;



const Item = ({ title, description, imageSrc }) => {
  return (
    <Card
      hoverable
      style={{ width: 250, marginLeft:"30px"}} // 确保Card填满当前行
      cover={<img
        alt="example"
        src={imageSrc || "https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png"}
        style={{ width: '250px', height: '160px', objectFit:'contain' }} // 设置图片的固定尺寸和适应方式
      />}
    >
      <Meta title={title} description={description} />
    </Card>
  );
};


export default Item;
